package tv.acgn.advertisement.publish.vo.adunit;

import java.util.List;

import javax.validation.constraints.NotBlank;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import tv.acgn.advertisement.publish.validator.message.AdUnitValidateMessage;

/**
 * @author : junG
 * @program : advertisement-ad-pub-vo
 * @description : 推广单元地区 请求对象
 * @date : 2019-05-26 01:52
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AdUnitDistrictRequestVO {

    private List<UnitDistrict> unitDistrictList;

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class UnitDistrict {
        @NotBlank(message = AdUnitValidateMessage.UNIT_ID_NOT_BLANk)
        private String unitId;

        private String state;

        private String province;

        private String city;

        private String county;
    }
}
